//
//  SingleMonthView.h
//  YWCalendar
//
//  Created by YR on 2017/5/25.
//  Copyright © 2017年 YR. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "YWSingleMonthModel.h"
#import "YWButton.h"

@protocol YWSingleMonthViewDelegate <NSObject>

- (void)didSelectButton:(YWButton *)sender;

@end

@interface YWSingleMonthView : UIView

- (instancetype)initWithYear:(NSInteger)year andMonth:(NSInteger)month;
@property (nonatomic) YWSingleMonthModel *model;
@property (nonatomic) YWButton *didSelectButn;
@property (nonatomic, weak) id<YWSingleMonthViewDelegate> delegate;

@end
